<extend name="Public/base" />
<block name="body">
<style>

</style>
	 <div class="tools">
        <a class="btn ajax-post" target-form="ids" url="{:U('Api/delete')}">删 除</a>
        <a class="btn" target-form="ids" href="{:U('Api/add')}" >新 增</a>
    </div>
		<div class="data-table">
        <div class="data-table table-striped">
			<table class="">
			    <thead>
			        <tr>
					<th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
					<th class="">编号</th>
					<th class="">标题</th>
					<th class="">图片地址</th>
					<th class="">评论</th>
					<th class="">信息</th>
					<th class="">评分</th>
					</tr>
			    </thead>
			    <tbody>
				<notempty name="_list">
					<volist name="_list" id="vo">
					<tr>
			            <td><input class="ids" type="checkbox" name="ids[]" value="{$vo.id}" /></td>
						<td>{$vo.id} </td>
						<td><a href="{:url('Api/manage',array('id'=>$vo['id']))}">{$vo.title}</a></td>
						<td><a href="{$vo.image}">访问</a></td>
						<td><span >{$vo.comment|max_length}</span></td>
						<td><span>{$vo.info}</span></td>
						<td>{$vo.greed}</td>
						<td>
							
			            </td>
					</tr>
					</volist>
					<else/>
					<td colspan="7" class="text-center"> aOh! 暂时还没有内容! </td>
					</notempty>
				</tbody>
			    </table>
        </div>
    </div>
<div class="page">
        {$_page}
    </div>

</block>